package com.itheima.dao;

import com.itheima.entity.Order;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderMapper {
    @Select(value = "select * from t_order where user_id=#{userId}")
    List<Order> selectOrderByUserId(Integer id);
}
